// 获取今天与明天的年月日
function nextDate() {
    const today = new Date()
    const tomorrow = new Date()
    tomorrow.setDate(tomorrow.getDate() + 1)

    console.log("今天:" + today.getFullYear() + "年" + (today.getMonth() + 1).toString().padStart(2, "0") + "月" + today.getDate().toString().padStart(2, "0") + "日");
    console.log("明天:" + tomorrow.getFullYear() + "年" + (tomorrow.getMonth() + 1).toString().padStart(2, "0") + "月" + tomorrow.getDate().toString().padStart(2, "0") + "日");
}
nextDate()